﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.SharePoint;

namespace Mystery.SharePoint
{
    /// <summary>
    /// Represents an interface to interact with a single Site Management step
    /// </summary>
    public interface ISiteManagementStep
    {
        /// <summary>
        /// Executes the management step
        /// </summary>
        /// <param name="root">An object that represents the root site collection</param>
        /// <param name="site">An object representing the site we performing the maintenance step on</param>
        /// <returns>True if further execution should take place</returns>
        bool Execute(SPSite root, SPSite site);
    }
}
